#pragma once

namespace Core {
	// Helper function to swap from row-major (Application) to column-major (OpenGL)
	template<class T>
	void matrixTranspose( T const (&mat)[4][4], T (&out)[4][4] ) {
		for ( int row = 0; row < 4; ++row )
			for ( int col = 0; col < 4; ++col )
				out[row][col] = mat[col][row];
	}
}